﻿@model VMC.Domain.Model.Account.UpdateProfile

@{
    ViewBag.Title = "UpdateProfile";
}

<!--<h2>UpdateProfile</h2>-->

@VMCHelper.WideTextInput()
<div class="one-half">
@using (Html.BeginForm()) {
    <input type="hidden" name="ID" value="@Model.ID" />
    <fieldset class="border">
        <!--<legend>UpdateProfile</legend>-->
		<table  class="input-form-table wide-table">
		<tr >
			<td  colspan="2"> @Html.ValidationSummary(true)</td>
		</tr>
        <tr >
		 <td class="editor-label" >
            @Html.LabelFor(model => model.Email) 
		</td>
        <td class="editor-field" >
            @Html.EditorFor(model => model.Email)
		</td>
		</tr>
		<tr  class="validation-error">
            <td  colspan="2" > @Html.ValidationMessageFor(model => model.Email) </td>
		</tr>
        
        <tr >
		 <td class="editor-label" >
            @Html.LabelFor(model => model.FirstName) 
		</td>
        <td class="editor-field" >
            @Html.EditorFor(model => model.FirstName)
		</td>
		</tr>
		<tr  class="validation-error">
            <td  colspan="2" > @Html.ValidationMessageFor(model => model.FirstName) </td>
		</tr>
        
        <tr >
		 <td class="editor-label" >
            @Html.LabelFor(model => model.LastName) 
		</td>
        <td class="editor-field" >
            @Html.EditorFor(model => model.LastName)
		</td>
		</tr>
		<tr  class="validation-error">
            <td  colspan="2" > @Html.ValidationMessageFor(model => model.LastName) </td>
		</tr>
        
        <tr >
		 <td class="editor-label" >
            @Html.LabelFor(model => model.AddressLine1) 
		</td>
        <td class="editor-field" >
            @Html.EditorFor(model => model.AddressLine1)
		</td>
		</tr>
		<tr  class="validation-error">
            <td  colspan="2" > @Html.ValidationMessageFor(model => model.AddressLine1) </td>
		</tr>
        
        <tr >
		 <td class="editor-label" >

		</td>
        <td class="editor-field" >
            @Html.EditorFor(model => model.AddressLine2)
		</td>
		</tr>
		<tr  class="validation-error">
            <td  colspan="2" > @Html.ValidationMessageFor(model => model.AddressLine2) </td>
		</tr>
        
        <tr >
		 <td class="editor-label" >
            @Html.LabelFor(model => model.CityStateZip) 
		</td>
        <td class="editor-field" >
            @Html.EditorFor(model => model.CityStateZip)
		</td>
		</tr>
		<tr  class="validation-error">
            <td  colspan="2" > @Html.ValidationMessageFor(model => model.CityStateZip) </td>
		</tr>
        
        <tr >
		 <td class="editor-label" >
            @Html.LabelFor(model => model.WorkPhone) 
		</td>
        <td class="editor-field" >
            @Html.EditorFor(model => model.WorkPhone)
		</td>
		</tr>
		<tr  class="validation-error">
            <td  colspan="2" > @Html.ValidationMessageFor(model => model.WorkPhone) </td>
		</tr>
        
        <tr  class="submit-button">
            <td  colspan="2">  <input type="submit" icon-class="action-icon-profile" value="Save" /> </td>
		</tr>
        
	</table>
    </fieldset>
}
</div>

